﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace demo.Web.AzureTables
{
    public class EmployeeContext : ContextBase
    {
        new public static string TableName = "employee";

        static EmployeeContext()
        {
            ContextBase.CreateTable(TableName);
        }

        public IQueryable<Employee> Employees
        {
            get { return this.CreateQuery<Employee>(TableName); }
        }
    }
}